Skip to content

Refactor: UI Module#64

Merged
brenocq merged 40 commits intodevfrom
ui-redesign
Jan 19, 2025
Merged

Refactor: UI Module#64
brenocq merged 40 commits intodevfrom
ui-redesign

Conversation

@brenocq
Copy link
Owner

@brenocq brenocq commented Jan 19, 2025

This PR implemented the changes presented in #54

Organize UI folders

The UI module files were organized to improve maintainability, here is the current structure

src/atta/ui
├── CMakeLists.txt
├── drawers
│   ├── ...
├── editor.cpp
├── editor.h
├── interface.cpp
├── interface.h
├── manager.cpp
├── manager.h
├── panels
│   ├── ...
├── widgets
│   ├── ...
└── windows
    ├── ...

Improve ImGui style

ImGui now uses a custom font and styles

Before
Image

After
Image

Changelog

  • Feat
    • Added ImPlot3D
    • new evt::MeshDestroy event
    • Render world grid
    • Custom ImGui style/font
  • Refactor
    • Viewports moved from graphics module to UI module
    • ImGuizmo encapsulated by Gizmo class
  • Fix
    • ImGuizmo UI off by 1 frame
  • Chore
    • ImGui updated from v1.90-docking to v1.91.7-docking

@brenocq brenocq added module:ui UI Module prio:high High priority status:review The task is under review type:refactor Code refactoring without changing functionality labels Jan 19, 2025
@brenocq brenocq added this to the 0.4.0 milestone Jan 19, 2025
@brenocq brenocq self-assigned this Jan 19, 2025
@brenocq brenocq linked an issue Jan 19, 2025 that may be closed by this pull request
12 tasks
@brenocq brenocq merged commit 0507d6f into dev Jan 19, 2025
10 checks passed
@brenocq brenocq deleted the ui-redesign branch January 19, 2025 12:28
@brenocq brenocq added status:done Task completed successfully and removed status:review The task is under review labels Mar 10, 2025
@brenocq brenocq changed the title UI Refactoring Refactor: UI Module Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:ui UI Module prio:high High priority status:done Task completed successfully type:refactor Code refactoring without changing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI Refactoring

1 participant